import autotd.TDSimulator;
import autotd.server.TDServer;
import autotd.server.BasicWatcher;
import autotd.netgui.GUI;

public class Launcher extends Thread {

	public static void pause() {
		try {
			Thread.sleep(100);
		} catch(Exception e) {
		}
	}

	public static void main(String[] args) throws Exception {
		(new Thread() {
			public void run() {
				try {
					TDServer.main(new String[0]);
				} catch(Exception e) {
				}
			}
		}).start();
		pause();
		(new Thread() {
			public void run() {
				try {
					BasicWatcher.main(new String[0]);
				} catch(Exception e) {
				}
			}
		}).start();
		pause();
		(new Thread() {
			public void run() {
				try {
					new GUI();
				} catch(Exception e) {
				}
			}
		}).start();
	}
}